package com.ittony.service.impl;

import com.ittony.entity.DishFlavor;
import com.ittony.mapper.DishFlavorMapper;
import com.ittony.service.DishFlavorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DishFlavorServiceImpl implements DishFlavorService {
    @Autowired
    private DishFlavorMapper dishFlavorMapper;

    @Override
    public void addDishFlavor(List<DishFlavor> flavors) {
        dishFlavorMapper.addDishFlavor(flavors);
    }
}
